* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  height: 100%;
  background-color: #fff;
  overflow: hidden;
  zoom: 1;
}

.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.3);
  z-index: 999;
  pointer-events: none;
}

#container {
  width: 100%;
  height: 100%;
  overflow: hidden;
  position: relative;
  background-color: #38393c;
  background-image: url('../img/bgc.jpg');
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

#title {
  position: absolute;
  top: 50px;
  left: 50%;
  transform: translate(-50%, 0);
  width: 300px;
  height: 100px;
  background-image: url('../img/baidu.png');
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
}


#searchBar {
  position: absolute;
  top: 190px;
  left: 50%;
  transform: translate(-50%, 0);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 680px;
  z-index: 1000;
}

#searchIcon {
  position: absolute;
  left: 12px;
  top: 15px;
  font-size: 20px;
  color: #9ca3af;
}

#setIcon {
  position: absolute;
  right: 32px;
  top: 40px;
  font-size: 24px;
  color: #fff;
  cursor: pointer;
  transition: transform 0.1s ease;
  z-index: 1000;
}

#setIcon:hover {
  transform: rotate(90deg);
}

#searchInput {
  flex: 1;
  height: 50px;
  width: 680px;
  padding: 5px 5px 5px 45px;
  border: 1px solid #fff;
  border-radius: 5px;
  background-color: transparent;
  outline: none;
  color: #fff;
  font-size: 14px;
  font-weight: 500;
}

/* 选择器根据你的需要进行调整 */
#searchInput[type="text"]::placeholder {
  color: #8bc2db;
  /* 设置占位符文字的颜色 */
}

#drawer {
  position: fixed;
  top: 0;
  right: -320px;
  width: 320px;
  height: 100%;
  background-color: rgba(0, 0, 0, .3);
  box-shadow: -2px 0 5px rgba(0, 0, 0, 0.2);
  transition: right 0.1s ease-in-out;
  z-index: 1001;
  backdrop-filter: blur(10px);
}

.drawer-header {
  height: 80px;
  display: flex;
  align-items: center;
  position: relative;
}

#closeIcon {
  position: absolute;
  right: 20px;
  top: 20px;
  color: #dbdbdb;
  font-size: 20px;
}

#closeIcon:hover {
  color: #fff;
}

.menuList {
  display: flex;
  align-items: center;
  color: #d1d5db;
  font-size: 18px;
  padding: 20px;
}

.menuList li {
  margin: 0 5px;
  cursor: pointer;
  list-style: none;
  padding: 8px 0;
}

.menuList li:hover,
.menuList li.active {
  color: #fff;
  border-bottom: 2px solid #fff;
}


.drawer-content {
  height: calc(100% - 80px);
  color: #fff;
  padding: 10px 20px;
}

.content-item {
  margin-bottom: 20px;
}

.content-item-title {
  background-color: rgba(0, 0, 0, .3);
  padding: 5px 10px;
}

.content-item-info {
  padding: 0 20px;
}

.content-item-info select {
  height: 32px;
  line-height: 32px;
  margin: 8px 0;
  padding: 0 11px;
  background-color: #66666680;
  border: none;
  border-radius: 2px;
  color: #fff;
}

select option {
  padding: 5px 12px;
  height: 40px;
  background-color: #f5f5f5;
  color: #000;
  border-radius: 2px;
}

select option:hover {
  font-weight: 700;
}

select option:checked {
  font-weight: 700;
}




/* 当屏幕宽度小于等于 768px 时，应用以下样式 */
@media screen and (max-width: 768px) {

  /* 在这里写移动端适配的样式 */
  #title {
    position: absolute;
    top: 70px;
    left: 50%;
    transform: translate(-50%, 0);
  }

  #logo {
    width: 100%;
  }

  #searchBar {
    position: absolute;
    top: 190px;
    left: 50%;
    transform: translate(-50%, 0);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80%;
  }

  .setIcon {
    position: absolute;
    left: 12px;
    top: 15px;
    font-size: 20px;
    color: #9ca3af;
  }

  #searchInput {
    flex: 1;
    height: 50px;
    width: 80%;
    padding: 5px 5px 5px 45px;
    border: 1px solid #fff;
    border-radius: 5px;
    background-color: transparent;
    outline: none;
    color: #fff;
    font-size: 14px;
    font-weight: 500;
  }
}